<ul class="layui-nav" lay-filter="" id="j_header">
    <li class="layui-nav-item"><a href="/index">首页</a></li>
    <li class="layui-nav-item">
        <a href="javascript:;">网站导航</a>
        <dl class="layui-nav-child"> <!-- 二级菜单 -->
            <dd><a href="javascript:;">移动模块</a></dd>
            <dd><a href="javascript:;">后台模版</a></dd>
            <dd><a href="javascript:;">电商平台</a></dd>
        </dl>
    </li>
    <span shiro:notAuthenticated >
    <li class="layui-nav-item layui-this"><a href="/login">亲，请登录</a></li>
    <li class="layui-nav-item"><a href="/register">免费注册</a></li>
    </span>
    <span shiro:authenticated >
    <li class="layui-nav-item" style="float: right;">
        <a href="javascript:;"><img src="/static/images/userface2.jpg" class="layui-nav-img">[[${session.user.nickname}]]</a>
        <dl class="layui-nav-child">
            <dd><a href="/user/order">订单管理</a></dd>
            <dd><a href="/user/changePwd">修改信息</a></dd>
            <dd><a href="javascript:;">安全管理</a></dd>
            <dd><a href="/logout">退了</a></dd>
        </dl>
    </li>
        <li class="layui-nav-item" style="float: right;">
        <a href="/user/cart"><i class="layui-icon layui-icon-cart" style="font-size: 30px; color: #1E9FFF;"></i>购物车</a>
        </li>
    </span>
    <li class="layui-nav-item" style="float: right;">
        <a href="javascript:;"><i class="layui-icon layui-icon-star-fill" style="font-size: 30px; color: #c27214;"></i>收藏夹</a>
    </li>

</ul>
